Skip to content

[ES|QL]: Update Vector Similarity To Support BFLOAT16#139113

Merged
Mikep86 merged 45 commits intoelastic:mainfrom
mromaios:bfloat16_esql_and_semantic_text_tests
Dec 15, 2025
Merged

[ES|QL]: Update Vector Similarity To Support BFLOAT16#139113
Mikep86 merged 45 commits intoelastic:mainfrom
mromaios:bfloat16_esql_and_semantic_text_tests

Conversation

@mromaios
Copy link
Contributor

@mromaios mromaios commented Dec 5, 2025

Updates VectorSimilarityFunction to support the BFLOAT16 element type. Also adds comprehensive tests for the BFLOAT16 element type.

Support for bfloat16 including BlockLoader was added here: #137843

@mromaios mromaios self-assigned this Dec 5, 2025
@mromaios mromaios added >test Issues or PRs that are addressing/adding tests :SearchOrg/Relevance Label for the Search (solution/org) Relevance team labels Dec 5, 2025
elasticsearchmachine and others added 25 commits December 5, 2025 12:18
…omaios/elasticsearch into bfloat16_esql_and_semantic_text_tests
…omaios/elasticsearch into bfloat16_esql_and_semantic_text_tests
…omaios/elasticsearch into bfloat16_esql_and_semantic_text_tests
…omaios/elasticsearch into bfloat16_esql_and_semantic_text_tests
@mromaios mromaios changed the title test: add some es|ql and semantic text bfloat16 tests test: es|ql with bfloat16 Dec 11, 2025
@mromaios mromaios changed the title test: es|ql with bfloat16 test: ES|QL with bfloat16 Dec 11, 2025
@Mikep86 Mikep86 requested review from a team and ioanatia December 12, 2025 20:26
@Mikep86 Mikep86 marked this pull request as ready for review December 12, 2025 20:26
@elasticsearchmachine elasticsearchmachine added the Team:Search - Relevance The Search organization Search Relevance team label Dec 12, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-relevance (Team:Search - Relevance)

Copy link
Contributor

@ioanatia ioanatia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's update the tests for vector similarity functions:

for (ElementType elementType : Set.of(ElementType.FLOAT, ElementType.BYTE, ElementType.BIT)) {

@Mikep86 Mikep86 added >bug and removed >test Issues or PRs that are addressing/adding tests labels Dec 15, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @mromaios, I've created a changelog YAML for you.

@Mikep86 Mikep86 changed the title test: ES|QL with bfloat16 [ES|QL]: Update Vector Similarity To Support BFLOAT16 Dec 15, 2025
@Mikep86 Mikep86 requested a review from ioanatia December 15, 2025 16:11
@Mikep86 Mikep86 merged commit 7ae04c3 into elastic:main Dec 15, 2025
35 checks passed
parkertimmins pushed a commit to parkertimmins/elasticsearch that referenced this pull request Dec 17, 2025
Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :SearchOrg/Relevance Label for the Search (solution/org) Relevance team Team:Search - Relevance The Search organization Search Relevance team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants